body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}
.container {
    display: flex;
    width: 80%;
    margin-top: 20px;
}
.input-area, .preview-area {
    flex: 1;
    margin: 10px;
}
textarea {
    width: 100%;
    height: 300px;
}
iframe {
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
}
/* 添加全屏预览的样式 */
.fullscreen-preview {
    display: none; /* 初始隐藏 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8); /* 半透明背景 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: zoom-out;
}
.fullscreen-preview img {
    max-width: 90%;
    max-height: 90%;
    cursor: zoom-out;
}